show

open fun show(types: Int)(source)

Makes a set of windows that cause insets appear on screen.

Note that if the window currently doesn't have control over a certain type, it will apply the change as soon as the window gains control. The app can listen to the event by observing onApplyWindowInsets and checking visibility with isVisible.

Parameters

types

A bitmask of WindowInsetsCompat.Type specifying what windows the app would like to make appear on screen.